﻿namespace LJ.AspNetCore.Abstractions.Pack;

public interface IAspNetCorePack:IPack
{
    /// <summary>
    /// 加载服务
    /// </summary>
    /// <param name="aspNetCorePackContext"></param>
    void Add(IAspNetCorePackContext aspNetCorePackContext);

    /// <summary>
    /// 启动服务
    /// </summary>
    /// <param name="aspNetCorePackProvider"></param>
    void Use(IAspNetCorePackProvider aspNetCorePackProvider);
}
